<?xml version="1.0" encoding="UTF-8"?>

<div xmlns="http://www.w3.org/1999/xhtml" component="$model/UI2/system/components/justep/window/window" data-bind="component:{name:'$model/UI2/system/components/justep/window/window'}" __justepbasexid__="__baseID__" components="$model/UI2/system/components/justep/panel/panel,$model/UI2/system/components/justep/panel/child,$model/UI2/system/components/justep/windowDialog/windowDialog,$model/UI2/system/components/justep/window/window,$model/UI2/system/components/justep/controlGroup/controlGroup,$model/UI2/system/components/justep/titleBar/titleBar,$model/UI2/system/components/justep/button/button,$model/UI2/system/components/justep/output/output,">  
  <div xmlns="" component="$model/UI2/system/components/justep/panel/panel" class="x-panel x-full" xid="panel1" data-bind="component:{name:'$model/UI2/system/components/justep/panel/panel'}"> 
    <div class="x-panel-top" xid="top1" component="$model/UI2/system/components/justep/panel/child" data-bind="component:{name:'$model/UI2/system/components/justep/panel/child'}"> 
      <div component="$model/UI2/system/components/justep/titleBar/titleBar" class="x-titlebar" xid="titleBar1" data-bind="component:{name:'$model/UI2/system/components/justep/titleBar/titleBar'}" data-config="{&quot;title&quot;:&quot;windowDialog&quot;}"> 
        <div class="x-titlebar-left" xid="div1"> 
          <a component="$model/UI2/system/components/justep/button/button" class="btn btn-link" xid="button1" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'}" data-events="onClick:closeWin" data-config="{&quot;icon&quot;:&quot;icon-chevron-left&quot;}"> 
            <i xid="i1" class="icon-chevron-left"/>  
            <span xid="span1"/> 
          </a> 
        </div>  
        <div class="x-titlebar-title" xid="div2">windowDialog</div>  
        <div class="x-titlebar-right " xid="div3"> 
          <div class="empty"/> 
        </div> 
      </div> 
    </div>  
    <div class="x-panel-content" xid="content1" component="$model/UI2/system/components/justep/panel/child" data-bind="component:{name:'$model/UI2/system/components/justep/panel/child'}"> 
      <span component="$model/UI2/system/components/justep/windowDialog/windowDialog" xid="sourceDialog" data-bind="component:{name:'$model/UI2/system/components/justep/windowDialog/windowDialog'}" data-config="{&quot;src&quot;:&quot;$model/UI2/system/components/justep/common/demo/dialog.w&quot;}"> 
        <div xmlns:xhtml="http://www.w3.org/1999/xhtml" class="x-dialog-overlay"></div>  
        <div xmlns:xhtml="http://www.w3.org/1999/xhtml" class="x-dialog">  
          <div class="x-dialog-title"> 
            <button class="close"> 
              <span>×</span> 
            </button>  
            <div class="x-dialog-title-text"/> 
          </div>  
          <div class="x-dialog-body"/> 
        </div> 
      </span>  
      <span component="$model/UI2/system/components/justep/windowDialog/windowDialog" xid="windowDialog" style="top:107px;left:200px;" data-bind="component:{name:'$model/UI2/system/components/justep/windowDialog/windowDialog'}" data-events="onReceive:windowDialogReceive" data-config="{&quot;src&quot;:&quot;$model/UI2/system/components/justep/windowDialog/demo/dialog.w&quot;}"> 
        <div xmlns:xhtml="http://www.w3.org/1999/xhtml" class="x-dialog-overlay"></div>  
        <div xmlns:xhtml="http://www.w3.org/1999/xhtml" class="x-dialog">  
          <div class="x-dialog-title"> 
            <button class="close"> 
              <span>×</span> 
            </button>  
            <div class="x-dialog-title-text"/> 
          </div>  
          <div class="x-dialog-body"/> 
        </div> 
      </span>  
      <div xid="dialog"/>  
      <div component="$model/UI2/system/components/justep/controlGroup/controlGroup" class="x-control-group" xid="controlGroup1" data-bind="component:{name:'$model/UI2/system/components/justep/controlGroup/controlGroup'}" data-config="{&quot;title&quot;:&quot;title&quot;}"> 
        <h3 style="height:48px;vertical-align: middle;padding: 8px;display: inline-block;">windowDialog</h3>  
        <a component="$model/UI2/system/components/justep/button/button" class="btn btn-link" xid="button5" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'}" data-events="onClick:showJsSource" data-config="{&quot;label&quot;:&quot;js&quot;}"> 
          <i xid="i5"/>  
          <span xid="span5">js</span> 
        </a>  
        <a component="$model/UI2/system/components/justep/button/button" class="btn btn-link" xid="button4" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'},visible:isVisible" data-events="onClick:showWindowDialogSource" data-config="{&quot;label&quot;:&quot;源码&quot;}"> 
          <i xid="i4"/>  
          <span xid="span4">源码</span> 
        </a>  
        <p>打开对话框，在windowDialog的src上指定打开路径</p>  
        <a component="$model/UI2/system/components/justep/button/button" class="btn btn-default" xid="button2" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'}" data-events="onClick:dynamicCreateWindowDialog" data-config="{&quot;label&quot;:&quot;dynamicCreateWindowDialog&quot;}"> 
          <i xid="i2"/>  
          <span xid="span2">dynamicCreateWindowDialog</span> 
        </a>  
        <a component="$model/UI2/system/components/justep/button/button" class="btn btn-default" xid="button3" style="left:50px;" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'}" data-events="onClick:standardOpenWindowDailog" data-config="{&quot;label&quot;:&quot;standardOpenWindowDialog&quot;}"> 
          <i xid="i3"/>  
          <span xid="span3">standardOpenWindowDialog</span> 
        </a> 
      </div>  
      <div component="$model/UI2/system/components/justep/output/output" class="x-output" xid="output" data-bind="component:{name:'$model/UI2/system/components/justep/output/output'}"/> 
    </div> 
  </div> 
</div>
